﻿using ProcurementManagement.Domain.ProcurementDomain;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.Dtos.PurchaseContracts
{
    public class FanPurchaseContractsDTO
    {
        /// <summary>
        /// 采购合同 id
        /// </summary>
        public int PurchaseContractsIds { get; set; }
        /// <summary>
        /// 供应商 id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 采购编号
        /// </summary>
        public string? PCNumber { get; set; }
        /// <summary>
        /// 采购合同名称
        /// </summary>
        public string? PCName { get; set; }
        /// <summary>
        /// 采购合同类别
        /// </summary>
        public string? PCTypes { get; set; }
        /// <summary>
        /// 是否需要到货质检
        /// </summary>
        public bool? PCWhetherQuality { get; set; }
        /// <summary>
        /// 人员档案 id
        /// </summary>
        public int? ManpowerId { get; set; }
        /// <summary>
        /// 我方代表
        /// </summary>
        public int? PCOurRepresentatives { get; set; }
        /// <summary>
        /// 对方代表
        /// </summary>
        public int? PCRepresentParty { get; set; }
        /// <summary>
        /// 采购申请 id
        /// </summary>
        public int? ProcureApplyId { get; set; }
        /// <summary>
        /// 合同日期
        /// </summary>
        public DateTime? PContractsDate { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? PCPreparationDate { get; set; }
        /// <summary>
        /// 产品金额
        /// </summary>
        public decimal? PCProductPrice { get; set; }
        /// <summary>
        /// 优惠总额
        /// </summary>
        public decimal? PCPreferentialPrice { get; set; }
        /// <summary>
        /// 优惠后总额
        /// </summary>
        public decimal? PCAfterOfferPrice { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 采购合同产品id
        /// </summary>
        public int SourcProductContractId { get; set; }
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 产品的数量
        /// </summary>
        public int? SPCNum { get; set; }
        /// <summary>
        /// 产品的单价
        /// </summary>
        public decimal? SPCPrice { get; set; }
        /// <summary>
        /// 票据类型
        /// </summary>
        public int? SPCDocumentsType { get; set; }
        /// <summary>
        /// 产品的总金额
        /// </summary>
        public decimal? SPCTotalPrice { get; set; }
        /// <summary>
        /// 优惠后的单价
        /// </summary>
        public decimal? SPCAfterPrice { get; set; }
        /// <summary>
        /// 优惠后的总金额
        /// </summary>
        public decimal? SPCAfterTotalPrice { get; set; }
        /// <summary>
        /// 产品的到货日期
        /// </summary>
        public DateTime? SPCArrivalDate { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string? SPCRemark { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? SPPNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? SPPName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? SPPSpec { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VNumber { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VName { get; set; }
    }
}
